{% extends "base.html" %}
{% block title %}Profiles List{% endblock %}
{% block content %}
{% if user.is_authenticated %}
<a href="./create">Create/Edit</a> your profile
</ul>
{% endif %}

Profiles List:
<ul>
{% for profile in object_list %}
    <li><a href="/profiles/{{ profile.user.username }}">{{ profile.user.username }}</a></li>
{% endfor %}
</ul>

{% endblock %}